(function(w){
    // 基地址
    var baseURL = 'http://localhost:8080/api/v1'
    var BigNew = {
        baseURL:baseURL,//基地址
        user_login:      baseURL + '/admin/user/login',//用户登录
        user_info:       baseURL + '/admin/user/info',//用户信息
        user_detail:     baseURL + '/admin/user/detail',//用户详情
        user_edit:       baseURL + '/admin/user/edit',//用户编辑
        category_list:   baseURL + '/admin/category/list',//文章类别查询
        category_add:    baseURL + '/admin/category/add',//文章类别新增
        category_search: baseURL + '/admin/category/search',//文章类别搜索
        category_edit:   baseURL + '/admin/category/edit',//文章类别编辑
        category_delete: baseURL + '/admin/category/delete',//文章类别删除
        article_query:   baseURL + '/admin/article/query',//文章搜索
        article_publish: baseURL + '/admin/article/publish',//文章发布
        article_search:  baseURL + '/admin/article/search',//文章信息查询
        article_edit:    baseURL + '/admin/article/edit',//文章编辑
        article_delete:  baseURL + '/admin/article/delete',//文章删除
        comment_list:    baseURL + '/admin/comment/search',//文章评论列表
        comment_pass:    baseURL + '/admin/comment/pass',//文章评论通过
        comment_reject:  baseURL + '/admin/comment/reject',//文章评论不通过
        comment_delete: baseURL + '/admin/comment/delete',//文章评论删除
        data_info: baseURL + '/admin/data/info',//统计数据
        data_article: baseURL + '/admin/data/article',//日新增文章数量统计
        data_category: baseURL + '/admin/data/category',//各类型文章数量统计
        data_visit: baseURL + '//admin/data/visit',//日文章访问量

        desk_search:     baseURL + '/index/search',//前台文章搜索
        desk_category:   baseURL + '/index/category',//文章类型
        desk_hotpic:     baseURL + '/index/hotpic',//前台热点图
        desk_rank:       baseURL + '/index/rank',//前台文章热门排行
        desk_latest:     baseURL + '/index/latest',//前台最新资讯
        desk_latest_comment: baseURL + '/index/latest_comment',//前台最新评论
        desk_get_comment: baseURL + '/index/get_comment', //评论列表 
        desk_attention:  baseURL + '/index/attention',//前台焦点关注 
        desk_article:    baseURL + '/index/article',//前台文章详细内容
        desk_post_comment:     baseURL + '/index/post_comment',//前台发表评论
    };


    //暴露接口
    w.BigNew = BigNew;
}(window));